﻿Public MustInherit Class StammdatenverwaltungController(Of T As Base)
    Inherits KundeProjektTaskController

    Implements StammdatenverwaltungListener(Of T)

    Private service As PersistenceService(Of T)

    Sub New(ByRef service As PersistenceService(Of T))
        Me.service = service
    End Sub

    Public Overridable Sub delete(ByRef entity As T) Implements StammdatenverwaltungListener(Of T).delete
        service.delete(entity)
    End Sub

    Public Overridable Sub save(ByRef entity As T) Implements StammdatenverwaltungListener(Of T).save
        service.save(entity)
    End Sub
End Class
